<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
      div{
        width: 100px;
        height: 100px;
          border: 1px solid/*实线*/ olivedrab;
          /*overflow: hidden;!*隐藏超出部分*!*/
          /*overflow: visible;!*超出显示（默认）*!*/
          overflow: scroll;/*超出部分显示滚动条*/

      }
    </style>
</head>
<body>
<div>
    <img src="a.jpg" alt="">
</div>

</body>
</html>